/*
 * Formula Parser
 * @Version: revised version for ABSL
 * @Revised by Hao Ji
 */

package parser;

public class ParseException extends Exception {
	private static final long serialVersionUID = 1L;

	/** Fehler die beim Verabeiten der Simulationsmodelle auftreten */
	public ParseException(String mess){
		super(mess);
	}
	public ParseException(String mess,ParsedUnit unit){
		this(mess+" (Variable "+unit.get(Parser.SIMULATION_UNIT_NAME)+", Zeile "+unit.getCodeline()+"ff)");
	}
}
